From 6f0e1fe6f45aba7bb52b0c3e7c3ea1fc6e2489ac Mon Sep 17 00:00:00 2001 From: =?utf8?q?=C3=98yvind=20Kol=C3=A5s?= Date: Mon, 28 Nov 2016 12:14:45 +0100 Subject: [PATCH] rename define for default BABL_TOLERANCE to match envvar --- babl/babl-fish-path.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/babl/babl-fish-path.c b/babl/babl-fish-path.c index f4df8cf..23e7757 100644 --- a/babl/babl-fish-path.c +++ b/babl/babl-fish-path.c @@ -21,7 +21,7 @@ #include "babl-internal.h" #include "babl-ref-pixels.h" -#define BABL_LEGAL_ERROR 0.000006 +#define BABL_TOLERANCE 0.000006 #define BABL_MAX_COST_VALUE 2000000 #define BABL_HARD_MAX_PATH_LENGTH 8 #define BABL_MAX_NAME_LEN 1024 @@ -111,7 +111,7 @@ double _babl_legal_error (void) if (env && env[0] != '\0') error = babl_parse_double (env); else - error = BABL_LEGAL_ERROR; + error = BABL_TOLERANCE; env = getenv ("BABL_DEBUG_CONVERSIONS"); if (env && env[0] != '\0') -- 2.30.2